package com.evl.trainOrder.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.evl.common.persistence.model.TrainOrder;
import com.evl.common.persistence.model.TrainTicket;

/**
 * <p>
 * 车票订单 服务类
 * </p>
 *
 * @author weijunlong
 * @since 2017-06-22
 */
@Service
@Transactional
public interface ITrainOrderService{
	
	public int addTrainOrder(TrainOrder order) throws Exception;
	
	public List selectTrainOrders(TrainOrder order);

	public void updateById(TrainTicket tkModel);
	
	public void invaliOrderList(List<TrainOrder> trainOrderList)throws Exception;
	
	public Map refushOrderPayStatus(String orderNo)throws Exception;
}
